package org.grow.basic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "ShoppingBillItem")
public class ShoppingBillItem {
    @TableId(value = "shoppingBillFk", type = IdType.INPUT)
    private String shoppingBillFk;

    @TableId(value = "itemIndex", type = IdType.INPUT)
    private Integer itemIndex;

    @TableField(value = "goodsCode")
    private String goodsCode;

    @TableField(value = "goodsName")
    private String goodsName;

    @TableField(value = "goodsPrice")
    private BigDecimal goodsPrice;

    @TableField(value = "quantity")
    private BigDecimal quantity;

    public static final String COL_SHOPPINGBILLFK = "shoppingBillFk";

    public static final String COL_ITEMINDEX = "itemIndex";

    public static final String COL_GOODSCODE = "goodsCode";

    public static final String COL_GOODSNAME = "goodsName";

    public static final String COL_GOODSPRICE = "goodsPrice";

    public static final String COL_QUANTITY = "quantity";
}